<style>

.dtable{display:table;width:auto;margin:0px auto;}
.drow{display:table-row;height:25px;line-height:25px;}
.dlcell{display:table-cell;text-align:right;width:150px;}
.drcell{display:table-cell;text-align:left;width:450px;padding-left:10px;}

</style>
<script type="text/javascript">
jQuery(function(){
	
});
</script>
<div id="main">
    <div class="dtable">
		<form action="admin.php?mo=action&do=smtpSet" method="post" enctype="multipart/form-data" name="form1" id="form1">
        <div class="drow">
            <span class="dlcell">{$SmtpSsl}: </span>
            <span class="drcell">
            	<select id="smtp_ssl" name="smtp_ssl">
                {loop $yes_no $k $v}
                <option value="{$k}"{if $k==$smtp_ssl} selected="selected"{/if}>{$v}</option>
                {/loop}
                </select>
            </span>
        </div>
        <div class="drow">
        	<span class="dlcell">{$SmtpHost}: </span>
            <span class="drcell">
            <input type="text" name="smtp_host" id="smtp_host" value="{$smtp_host}" size="50" maxlength="60" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$SmtpPort}: </span>
            <span class="drcell">
            <input type="text" name="smtp_port" id="smtp_port" value="{$smtp_port}" size="50" maxlength="60" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$smtpFromName}: </span>
            <span class="drcell">
            <input type="text" name="smtp_fromname" id="smtp_fromname" value="{$smtp_fromname}" size="50" maxlength="60" />
            </span>
        </div>
<div>
            <span class="dlcell">{$SmtpEmail}: </span>
            <span class="drcell">
            <input type="text" name="smtp_email" id="smtp_email" value="{$smtp_email}" size="50" maxlength="60" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$SmtpUser}: </span>
            <span class="drcell">
            <input type="text" name="smtp_user" id="smtp_user" value="{$smtp_user}" size="50" maxlength="60" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$SmtpPass}: </span>
            <span class="drcell">
            <input type="text" name="smtp_pass" id="smtp_pass" value="{$smtp_pass}" size="50" maxlength="60" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$subjectTplText}: </span>
            <span class="drcell">
            <input type="text" name="subjectTpl" id="subjectTpl" value="{$subjectTpl}" size="70" />
            </span>
        </div>
        <div>
            <span class="dlcell">{$bodyTplText}: </span>
            <span class="drcell">
            </span>
        </div>
        <div>
            <span class="dlcell"> </span>
            <span class="drcell">
            <textarea id="bodyTpl" name="bodyTpl" cols="60" rows="5">{$bodyTpl}</textarea>
            </span>
        </div>
        <div class="drow">
            <span class="dlcell"></span>
            <span class="drcell">
            <input type="submit" value="{$SubmitText}" />
            </span>
        </div>
      </form>
    </div>
</div>